From: Alastair Tse Date: Thu, 4 Jan 2007 16:42:44 +0000 (+0000) Subject: [XEND] Fix block-list for dom0 in xm. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~15422^2~83 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/%22bookmarks://%22/%22http:/www.example.com/cgi/%22https:/%22bookmarks:/%22?a=commitdiff_plain;h=ab452d0667ad37d36d58f69c539d8250bc512248;p=xen.git [XEND] Fix block-list for dom0 in xm. Signed-off-by: Alastair Tse --- diff --git a/tools/python/xen/xend/XendConfig.py b/tools/python/xen/xend/XendConfig.py index 92af7b4239..f003c6e9eb 100644 --- a/tools/python/xen/xend/XendConfig.py +++ b/tools/python/xen/xend/XendConfig.py @@ -859,7 +859,7 @@ class XendConfig(dict): found = False # figure if there is a dev controller is valid and running - if domain and domain.getDomid(): + if domain and domain.getDomid() != None: try: controller = domain.getDeviceController(cls) configs = controller.configurations()